(function () {
    var request=require('../network/request')
    const config={
        url:'/home/multidata',
        timeout:5
    }
    request(config)
        .then(function (ret) {
        console.log("callback success");
        console.log(ret)
    }).catch(function (err) {
        console.log("callback failure");
        console.log(err);
    })
    /*const config={
        baseConfig:{
            url:'/home/multidata'
        },
        success:function(ret) {
        console.log("callback success");
        console.log(ret)
    },
        failure:function(ret) {
        console.log("callback failure");
        console.log(ret);
    }
    };
    request(config);*/
})();